package com.yunda.nebula.gateway;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Desc: 报表后台接口以及对外接口
 * @Author: cj
 * @Date 2020/7/6 16:48
 **/
@SpringBootApplication(scanBasePackages = {"com.yunda.nebula.gateway"},exclude = {DruidDataSourceAutoConfigure.class})
@MapperScan(basePackages = "com.yunda.nebula.gateway.mapper")
@EnableAsync
public class GatewayAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayAdminApplication.class,args);
    }
}
